﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="Model.Competence,Model" table="COMPETENCE" lazy="true">

		<id name="CompetenceId" column="COMPETENCEID" type="Int32" unsaved-value="0">
			<generator class="sequence">
				<param name="sequence">SQ_COMPETENCEID</param>
			</generator>
		</id>
		<property column="ROLEID" type="Int32" name="RoleId"  update="false" insert="false" />
		<property column="COMPETENCENAME" type="String" name="CompetenceName" length="50" />
		<property column="COMPETENCECODE" type="String" name="CompetenceCode" length="50" />
		<property column="COMPETENCEDESCRIPTION" type="String" name="CompetenceDescription" length="50" />
		<property column="VERSION" type="Int32" name="Version" />
		
	</class>
</hibernate-mapping>
